﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ChangedInfo.ascx.cs" Inherits="Controls_ChangedInfo" %>
<div id="changedinfo" style="padding-bottom: 10px">
    <div class="blocktitle">
        <div style="float: left">
            THAY ĐỔI THÔNG TIN CÁ NHÂN</div>
        <div onclick="Popup.hide('register')" id="re_close" style="float: right; cursor: pointer">
            [ x ]</div>
        <div style="clear: both">
        </div>
    </div>
    <fieldset>
        <legend>Thông tin chính</legend>
        <div style="width: 99%; margin: auto;">
            <div style="width: 77%; float: left">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="tdleft">
                            Tên đăng nhập:
                        </td>
                        <td class="tdright">
                            <asp:Label ID="lbl_username" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdleft">
                            Email:
                        </td>
                        <td class="tdright">
                            <asp:Label ID="lbl_email" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdleft">
                            Tài khoản:
                        </td>
                        <td class="tdright">
                            <asp:Label ID="lbl_Gold" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdleft">
                            Quyền hạn:
                        </td>
                        <td class="tdright">
                            <asp:Label ID="lbl_isblock" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="width: 23%; float: right">
                <div style="border: #333 1px solid; padding: 3px;">
                    <asp:Image ID="Img_Avatar" runat="server" Width="132px" Height="152px" /></div>
            </div>
            <div style="clear: both">
            </div>
        </div>
    </fieldset>
    <fieldset>
        <legend>Thông tin chỉnh sửa</legend>
        <div style="width: 100%; margin: auto">
            <div style="width: 77%; float: left">
                <table width="100%">
                    <tr>
                        <td class="tdleft">
                            Tên đầy đủ:
                        </td>
                        <td class="tdright">
                            <asp:TextBox ID="txb_Funllname" runat="server" CssClass="txbinput"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdleft">
                            Số điện thoại:
                        </td>
                        <td class="tdright">
                            <asp:TextBox ID="txb_PhoneNumber" runat="server" CssClass="txbinput"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdleft">
                            Năm sinh:
                        </td>
                        <td class="tdright">
                            <asp:TextBox ID="txb_Birthday" runat="server" CssClass="txbinput" Width="142px"></asp:TextBox>&nbsp;<input
                                id="Button1" class="buttonImg" onclick="displayCalendar(this,'dd/mm/yyyy',this,false,'','<%=txb_Birthday.ClientID%>')"
                                type="button" />
                        </td>
                    </tr>
                    <tr>
                        <td class="tdleft">
                            <asp:HiddenField ID="id_Avatar" runat="server" />
                            Ảnh đại diện:
                        </td>
                        <td class="tdright" style="position: absolute">
                            <div style="float: left">
                                <asp:FileUpload ID="uploadPicture" runat="server" /></div>
                            <div style="float: left; margin-left: 3px">
                                <asp:Button ID="cmd_UploadAvatar" runat="server" Text="Tải lên" OnClick="cmd_UploadAvatar_Click" /></div>
                            <div style="clear: both">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdleft">
                        </td>
                        <td class="tdright">
                            <div style="margin-left: 60px">
                                <asp:Button ID="cmd_Update" runat="server" Text="Cập nhật thông tin" OnClick="cmd_Update_Click"
                                    CssClass="re_submit" /></div>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="width: 23%; float: left">
                <div style="border: #333 1px solid; padding: 3px;">
                    <asp:Image ID="Img_Upload" runat="server" Width="132px" Height="152px" /></div>
            </div>
            <div style="clear: both">
            </div>
        </div>
    </fieldset>
</div>
